package drinkreos.model;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamOmitField;

@XStreamAlias("card")
public class Card {
	private String name;
	private String text;
	private String character;
	public enum CardType {STANDARD,PERMANENT,SEMIPERMANENT,USABLE};
	private CardType type;
	private boolean destiny;
	private String set;
	@XStreamOmitField
	private int turnsInPlay=0;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public String getCharacter() {
		return character;
	}
	public void setCharacter(String character) {
		this.character = character;
	}
	public CardType getType() {
		return type;
	}
	public void setType(CardType type) {
		this.type = type;
	}
	public boolean isDestiny() {
		return destiny;
	}
	public void setDestiny(boolean destiny) {
		this.destiny = destiny;
	}
	public String getSet() {
		return set;
	}
	public void setSet(String set) {
		this.set = set;
	}
	
	public String toString() {
		return name;
	}
	public int getTurnsInPlay() {
		return turnsInPlay;
	}
	public void setTurnsInPlay(int turnsInPlay) {
		this.turnsInPlay = turnsInPlay;
	}

}
